package com.ddtech.business.train.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ddtech.business.train.entity.TrainRecord;
import com.ddtech.business.train.query.TrainRecordQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @version v1.0
 * @ClassName:TrainRecordMapper description：
 * @author:wei_zhang(xiao)
 * @date: 2024-11-24 15:44
 */
@Mapper
public interface TrainRecordMapper extends BaseMapper<TrainRecord> {

    IPage<Map<String, Object>> getReport(IPage page, @Param("trainRecordQuery") TrainRecordQuery trainRecordQuery);
}
